<div id="login-page" class="content-primary user-auth">
	<?php
	$form = $this->loginForm;
	//print_r($form);
	$form->prepare();
	$form->setAttribute('class', 'form-signin content-default');
	$form->setAttribute('role', 'form');
	$form->setAttribute('action', $this->url('zfcuser/login'));
	$form->setAttribute('method', 'post');
	?>

	<?php echo $this->form()->openTag($form) ?>
		<h2 class="form-signin-heading"><?php echo $this->translate('Please sign in') ?></h2>
		<?php echo $this->formElementErrors($form->get('identity')) ?>
		
		<input type="text" class="form-control" name="identity" placeholder="<?php echo $this->translate('Email address or Username') ?>" required autofocus>
		<input type="password" name="credential" class="form-control" placeholder="<?php echo $this->translate('Password') ?>" required>
		
		<?php if ($this->redirect): ?>
			<input type="hidden" name="redirect" value="<?php echo $this->escapeHtml($this->redirect) ?>" />
		<?php endif ?>

		<button class="btn btn-primary" type="submit"><?php echo $this->translate('Sign in') ?></button>
		<label>
		  <input type="checkbox" value="remember-me"><span>Se souvenir de moi</span>
		</label>
		
		<p class="help-block">
		<?php if ($this->enableRegistration) : ?>
			<?php echo $this->translate('Not registered ?'); ?>
			<a class="link" href="<?php echo $this->url('zfcuser/register') . ($this->redirect ? '?redirect='.$this->redirect : '') ?>">
				<?php echo $this->translate('Sign up'); ?>!
			</a>
		<?php endif; ?>
		</p>
		
	<?php echo $this->form()->closeTag() ?>

	<!--
	<form class="form-signin content-default" role="form">
		
		<input type="text" class="form-control" placeholder="<?php echo $this->translate('Email address or Username') ?>" required autofocus>
		<input type="password" class="form-control" placeholder="<?php echo $this->translate('Password') ?>" required>
		<label class="checkbox">
		  <input type="checkbox" value="remember-me"> <?php echo $this->translate('Remember me') ?>
		</label>
		<button class="btn btn-lg btn-primary btn-block" type="submit"><?php echo $this->translate('Sign in') ?></button>
	</form>-->
</div> <!-- /container -->